home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / comm / www / ALynx.lha / ALynx / lynx.cfg < prev    next >
Text File  |  1995-07-23  |  32KB  |  750 lines

  1. # lynx.cfg file.
  2. #
  3. #* Amiga-specific stuff is marked with "#*"
  4. #* There might be Un*x/VMS-Lynx incompatible items!
  5. #
  6. # The default placement for this file is /usr/local/lib/lynx.cfg (UNIX)
  7. #                                     or Lynx_Dir:lynx.cfg (VMS)
  8. #
  9. #*                                    or AMITCP:db/lynx.cfg  (AMIGA)
  10. #*                                    or INET:db/lynx.cfg    (AMIGA)
  11. #*                                    or PROGDIR:lynx.cfg    (AMIGA)
  12. #
  13. # Definition pairs are of the form  VARIABLE:DEFINITION
  14. # NO spaces are allowed between the pair items.
  15. #
  16. #  If you do not have access to /usr/local/bin you may change
  17. #  the default location of this file in the userdefs.h file and recompile,
  18. #  or specify it's location on the command line with the "-cfg"
  19. #  command line option.
  20. #
  21. # Items may be commented out by putting a '#' as the FIRST char of the line
  22. #
  23. # All definitions must be flush left and have NO spaces.!!!
  24. #
  25. #
  26. #* AMIGA ONLY:
  27. #*============
  28. #* TEMPDIR is the default directory for ALynx to store temporary files.
  29. #* Usually this is T:, but it could be set to some other space.
  30. #* BEWARE! If you set TEMPDIR to some directory on harddisk, this
  31. #* may corrupt your hard drive in case of a machinecrash.
  32. #* The directory MUST end with a colon ":" or slash "/"
  33. #* and it MUST exist.
  34. TEMPDIR:T:
  35.  
  36. #
  37. #
  38. #* AMIGA ONLY:
  39. #*============
  40. #* MAILCOMMAND is the default command for ALynx to mail a textfile
  41. #* to the net. The file to be sent will be put behind this entry.
  42. #* ALynx itself inserts the "From:" and "To:"-headerstuff.
  43. #* You may add commandline options as needed.
  44. #*
  45. #* ADMail-example: (aminet:comm/mail by Simon Brown <simes@amdev.demon.co.uk>)
  46. #MAILCOMMAND:ADMail
  47. #*
  48. #* SMTPpost-example: (aminet:comm/net/INetUtils-1.4-AmiTCP)
  49. #* the line below will expand to "MAILCOMMAND:SMTPpost -f yourusername < T:L1297418400.html"
  50. #MAILCOMMAND:SMTPpost -f $USER <
  51. #*
  52. #* PutMail-example: (aminet:comm/net/PutMail*.lha)
  53. MAILCOMMAND:AmiTCP:bin/PutMail
  54. #MAILCOMMAND:mail
  55.  
  56. #* AMIGA ONLY:
  57. #*============
  58. #* DOWNLOADDIR is the default directory for ALynx to store downloaded files.
  59. #* On default this is $HOME, but it could be set to some other space.
  60. #* The directory MUST end with a colon ":" or slash "/"
  61. #* and it MUST exist.
  62. #* You may also specify an environmentvariable like $DOWNDIR which
  63. #* holds the path.. It has to be set up externally. ENV-vars are marked with
  64. #* a leading '$'. You cannot use mixed vars/pathes.
  65. #* ex.: set USERDOWNDIR $HOME/downloads/
  66. #* DOWNLOADDIR:$USERDOWNDIR
  67. #
  68. DOWNLOADDIR:ARC:tmp/
  69.  
  70. #
  71. #
  72. # STARTFILE is the default URL if none is specified on the command line 
  73. # note: these files can be remote (http://www.w3.org/default.html) 
  74. # or local (file://localhost/DIRECTORY/FILENAME
  75. #  replace DIRECTORY with the current directory path and
  76. #  FILENAME with the name of the file.
  77. #  file://localhost/dua#/DIRECTORY/FILENAME on VMS systems.)
  78. #
  79. #* file://localhost/DIRECTORY/FILENAME 
  80. #* file://localhost/ASSIGN:DIRECTORY/FILENAME on AMIGA systems.)
  81. #  
  82. #STARTFILE:http://www.cc.ukans.edu/about_lynx/www_start.html
  83. STARTFILE:file://localhost/lynx_help/lynx_help_main.html
  84.  
  85. # HELPFILE must be defined as a URL and must have a 
  86. # complete local path name if local 
  87. # (file://localhost/DIRECTORY/FILENAME
  88. #  replace DIRECTORY with the current directory path and
  89. #  FILENAME with the name of the file.
  90. #  file://localhost/dua#/DIRECTORY/FILENAME on VMS systems.)
  91. # the default HELPFILE is:
  92. # http://kufacts.cc.ukans.edu/lynx_help/lynx_help_main.html
  93. # We prefer you use your local file system to hold the help files
  94. # so that we can reduce the # of hits on our server.
  95. # This file will be updated as needed.  
  96. #
  97. #* Please insert full path if u copy help_files/ to some other
  98. #* location:
  99. #* HELPFILE:file://localhost/AMITCP:WWW/help_files/Lynx_users_guide.html
  100. #
  101. #HELPFILE:http://kufacts.cc.ukans.edu/lynx_help/lynx_help_main.html
  102. HELPFILE:file://localhost/lynx_help/Lynx_users_guide.html
  103.  
  104. # JUMPFILE is the local file checked for shortcut URL's when the
  105. # user presses the 'J' (JUMP) key.  The user will be prompted for
  106. # a shortcut entry (analogously to 'g'oto), and can enter one
  107. # or use '?' for a list of the shortcuts with associated links to
  108. # their actual URL's.  See the sample jumps files in the samples
  109. # subdirectory.  Make sure your jumps file includes a '?' shortcut
  110. # for a file://localhost URL to itself:
  111. #
  112. # <dt>?<dd><a href="file://localhost/path/jumps.html">This Shortcut List</a>
  113. #
  114. # If not defined here or in userdefs.h, the JUMP command will invoke
  115. # the NO_JUMPFILE statusline message (see userdefs.h).
  116. #
  117. # On VMS, use Unix SHELL syntax (including a lead slash) to define it.
  118. #
  119. # On Amiga, use standard AmigaDOS-filenames/paths
  120. #
  121. # Do not include "file://localhost" in the definition.
  122. #
  123. #JUMPFILE:/Lynx_Dir/jumps.html
  124. #* on Amiga-distribution this file is stored in PROGDIR: (changeable)
  125. JUMPFILE:PROGDIR:jumps.html
  126.  
  127. # DEFAULT_INDEX_FILE is the default file retrieved when the
  128. # user presses the 'I' key when viewing any document.
  129. # An index to your CWIS can be placed here or a document containing
  130. # pointers to lots of interesting places on the web.
  131. #
  132. #DEFAULT_INDEX_FILE:http://www.w3.org/default.html
  133.  
  134. # The CHARACTER_SET defines the users default 8 bit character set
  135. # which is used to represent the list of character entities within
  136. # HTML. New character sets may be defined by modifying the file
  137. # src/LYCharSets in the Lynx source code distribution and
  138. # recompiling.
  139. # The default character sets include:
  140. #    ISO Latin 1
  141. #    DEC Multinational
  142. #    IBM PC character set
  143. #    NeXT character set
  144. #    7 bit approximations
  145. #
  146. CHARACTER_SET:ISO Latin 1
  147.  
  148. # If BOLD_HEADERS is set to TRUE the HT_BOLD default style will be
  149. # acted upon for <H1> through <H7> headers.  The compilation default
  150. # is FALSE (only the uppercasing and indentation styles are acted
  151. # upon).  On Unix, compilation with -DUNDERLINE_LINKS also will
  152. # apply to the HT_BOLD style for headers when BOLD_HEADERS is TRUE.
  153. #
  154. BOLD_HEADERS:FALSE
  155.  
  156. # Local execution links and scripts are completely disabled
  157. # in the source code unless they are enabled in the
  158. # userdefs.h file and the sources recompiled.  Please
  159. # see the Lynx source code distribution and the userdefs.h
  160. # file for more detail on enabling execution links and scripts.
  161. #
  162. # If you have enabled execution links or scripts the following
  163. # two variables control Lynx's action when an execution link
  164. # or script is encountered.
  165. #
  166. # If LOCAL_EXECUTION_LINKS_ALWAYS_ON is set to TRUE any execution
  167. # link or script will be executed no matter where it came from.
  168. # This is EXTREMELY dangerous.  Since Lynx can access files from
  169. # anywhere in the world, you may encounter links or scripts that
  170. # will cause damage or comprimise the security of your system.
  171. #
  172. # If LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE is set to TRUE only
  173. # links or scripts that reside on the local machine and are
  174. # referenced with a URL beginning with "file://localhost/" or via
  175. # TRUSTED_EXEC rules (see below) will be executed.  This is much
  176. # less dangerous than enabling all execution links, but can still
  177. # be dangerous.
  178. #
  179. LOCAL_EXECUTION_LINKS_ALWAYS_ON:FALSE
  180. LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:FALSE
  181.  
  182. # If LOCAL_EXECUTION_LINK_ON_BUT_NOT_REMOTE is TRUE, and no TRUSTED_EXEC
  183. # rule is defined, it defaults to "file://localhost/" and any lynxexec
  184. # command will be permitted if it was referenced with a URL beginning with
  185. # that string.  If you wish to restrict the referencing URL's further, you
  186. # can extend the string to include a trusted path.  You also can specify
  187. # a trusted directory for http URL's, which will then be treated as if they
  188. # were local rather than remote.  For example:
  189. #
  190. #    TRUSTED_EXEC:file://localhost/trusted/
  191. #    TRUSTED_EXEC:http://sci.wfeb.edu/trusted/
  192. #
  193. # If you also wish to restrict the commands which can be executed, create
  194. # a series of rules with the path (Unix) or command name (VMS) following
  195. # the string, separated by a tab.  For example:
  196. #
  197. # Unix:
  198. #    TRUSTED_EXEC:file://localhost/    bin/cp
  199. #    TRUSTED_EXEC:file://localhost/    bin/rm
  200. # VMS:
  201. #    TRUSTED_EXEC:file://localhost/    copy
  202. #    TRUSTED_EXEC:file://localhost/    delete
  203. #
  204. # Once you specify a TRUSTED_EXEC referencing string, the default is
  205. # replaced, and all the referencing strings you desire must be specified
  206. # as a series.  Similarly, if you associate a command with the referencing
  207. # string, you must specify all of the allowable commands as a series of
  208. # TRUSTED_EXEC rules for that string.
  209. #
  210. # If EXEC_LINKS and JUMPFILE have been defined, any lynxexec URL's in that
  211. # file will be permitted, regardless of other settings.  If you also set
  212. # LOCAL_EXECUTION_LINKS_ON_BUT_NOT_REMOTE:TRUE and a single TRUSTED_EXEC
  213. # rule that will always fail (e.g., "none"), then *ONLY* the lynxexec URL's
  214. # in JUMPFILE will be allowed.
  215. #
  216. #TRUSTED_EXEC:none
  217.  
  218. #  MAIL_SYSTEM_ERROR_LOGGING will send a message to the owner of 
  219. #  the information, or ALERTMAIL if there is no owner, every time
  220. #  that a document cannot be accessed!
  221. #
  222. #  NOTE: This can generate A LOT of mail, be warned.
  223. #
  224. MAIL_SYSTEM_ERROR_LOGGING:FALSE
  225.  
  226. # If CHECKMAIL is set to TRUE, the user will be informed (via a statusline
  227. # message) about the existence of any unread mail at startup of Lynx, and
  228. # will get statusline messages if subsequent new mail arrives.  If a jumps
  229. # file with a lynxexec URL for invoking mail is available, or your html
  230. # pages include an mail launch file URL, the user thereby can access mail
  231. # and read the messages.  The checks and statusline reports will not be
  232. # performed if Lynx has been invoked with the -restrictions=mail switch.
  233. #
  234. #  VMS USERS !!!
  235. # New mail is normally broadcast as it arrives, via "unsolicitied screen
  236. # broadcasts", which can be "wiped" from the Lynx display via the Ctrl-W
  237. # command.  You may prefer to disable the broadcasts and use CHECKMAIL
  238. # instead (e.g., in a public account which will be used by people who
  239. # are ignorant about VMS).
  240. #
  241. CHECKMAIL:FALSE
  242.  
  243. # VMS:
  244. #=====
  245. # INEWS is the foreign command for the ANU-NEWS client (normally defined
  246. # as "NEWS" in userdefs.h) which serves as a transparent vector for posting
  247. # to newsgroups from Lynx via the ANU-NEWS client's server.  The account
  248. # running Lynx must have access to the ANU-NEWS client, which in turn must
  249. # have posting privileges (the news server could also be ANU-NEWS, or any
  250. # other server to which the ANU-NEWS client has access).  You can disable
  251. # news posting by setting INEWS to "none", or via -restrictions switches.
  252. # The ANU-NEWS software for VMS is available from ftp.cc.ukans.edu.
  253. #
  254. #INEWS:NEWS
  255.  
  256. # UNIX:
  257. #======
  258. # Set INEWS to the full path and name of your program for posting to
  259. # newsgroups.  A "mini" inews is included in the utils subdirectory of
  260. # the Lynx distribution.  You can disable news posting by setting INEWS
  261. # to "none", or via -restrictions switches.
  262. # Note that INN may require an -h switch added to the path.
  263. #
  264. #INEWS:inews
  265.  
  266. # VMS ONLY:
  267. #==========
  268. # If USE_FIXED_RECORDS is set to TRUE, Lynx_Dir:FIXED512.COM will be
  269. # executed automatically to convert 'd'ownloaded binary files to
  270. # FIXED 512 record format before saving them permanently to disk or
  271. # acting on a DOWNLOADER option.  Read the header of FIXED512.COM for
  272. # more information.  If set to FALSE, the headers of such files will
  273. # indicate that they are Stream_LF with Implied Carriage Control, which
  274. # is incorrect, and can cause downloading software to get confused and
  275. # unhappy.
  276. #
  277. #USE_FIXED_RECORDS:TRUE
  278.  
  279. # VI_KEYS can be turned on by the user in the options
  280. # screen or the .lynxrc file.  This is just the default.
  281. #
  282. VI_KEYS_ALWAYS_ON:FALSE
  283.  
  284. # EMACS_KEYS can be turned on by the user in the options
  285. # screen or the .lynxrc file.  This is just the default.
  286. #
  287. EMACS_KEYS_ALWAYS_ON:FALSE
  288.  
  289. # DEFAULT_KEYPAD_MODE specifies whether by default the user
  290. # has numbers that work like arrows or else numbered links
  291. # DEFAULT KEYPAD MODE may be set to TRUE for
  292. # using numbers as arrows as default or FALSE for
  293. # using numbered links as the default
  294. DEFAULT_KEYPAD_MODE_IS_NUMBERS_AS_ARROWS:TRUE
  295.  
  296. # The default search type.
  297. # This is a default that can be overridden by the user!
  298. #
  299. CASE_SENSITIVE_ALWAYS_ON:FALSE
  300.  
  301. # DEFAULT_BOOKMARK_FILE is a default filename for use as a
  302. # personal bookmark file.  It should start without a slash
  303. # and will reference a file from the users home directory.
  304. # NOTE: A file ending in .html should be used eliminate potential problems
  305. #
  306. DEFAULT_BOOKMARK_FILE:lynx_bookmarks.html
  307.  
  308. # DEFAULT_USER_MODE sets the default user mode for Lynx users.
  309. # NOVICE  shows a three line help message at the bottom of the screen
  310. # INTERMEDIATE  shows normal amount of help (one line)
  311. # ADVANCED  help is replaced by the URL of the current link
  312. #
  313. DEFAULT_USER_MODE:NOVICE
  314.  
  315. # DEFAULT_EDITOR sets the default editor for Lynx users.
  316. # If an editor is defined then the user may edit local documents
  317. # using that editor.  The editor will also be used for sending
  318. # mail messages.  If no editor is defined here or by the user
  319. # the user will not be able to edit local documents and a primative
  320. # line oriented mail input mode will be used.  
  321. # NOTE: Do not define an editor unless you know that every user will
  322. #       know how to use it.  Most users do not enjoy getting stuck in
  323. #       an unknown editor that they can't get out of.  Users can
  324. #       easily define an editor of their own using the options menu,
  325. #       so it is not always desirable to set the DEFAULT_EDITOR.
  326. #
  327. #DEFAULT_EDITOR:
  328.  
  329. # SYSTEM_EDITOR behaves the same as DEFAULT_EDITOR except that it can't be
  330. # changed.
  331. #
  332. #SYSTEM_EDITOR:
  333.  
  334. # PREFERRED_LANGUAGE is the language in MIME notation (e.g., "en",
  335. # "fr") which will be indicated by Lynx in its Accept-Language headers
  336. # as the preferred language.  If available, the document will be
  337. # transmitted in that language.  Users can override this setting via
  338. # the 'o'ptions menu and save that preference in their RC file.
  339. #
  340. #PREFERRED_LANGUAGE:en
  341.  
  342. # Proxy variables
  343. # Lynx version 2.2 and beyond supports the use of proxy servers that can
  344. # act as firewall gateways and caching servers.  They are preferable to
  345. # the older gateway servers.  Each protocol used by Lynx can be mapped
  346. # separately using PROTOCOL_proxy environment variables (see INSTALLATION).
  347. # If you have not set them externally, you can set them at run time via
  348. # this configuration file.  They will not override external settings.
  349. # Note that on VMS they are set as process logicals rather than symbols,
  350. # to preserve lowercasing, and will outlive the Lynx image.
  351. #
  352. #http_proxy:http://some.server.dom:port/
  353. #ftp_proxy:http://some.server.dom:port/
  354. #gopher_proxy:http://some.server.dom:port/
  355. #news_proxy:http://some.server.dom:port/
  356. #wais_proxy:http://some.server.dom:port/
  357. #no_proxy:host.domain.dom
  358.  
  359. # Printer definitions
  360. # any number of printers may be defined by using multiple 
  361. # printer definition sets.  Printers may be any program
  362. # that could be useful to your users, they do not necessarily
  363. # have to print.
  364. #
  365. # the definition of a printer is of the form
  366. # PRINTER:<printer name>:<printer command>:<printer option>:<lines/page>
  367. #
  368. #    <printer name> is the name that the user will see
  369. # <printer command> is the command line arguments for printing a file
  370. #            the %s will be replaced with the file being printed.
  371. #                   If a second %s is given the second %s will be replaced by a
  372. #                   suggested filename that is prettier than the tempfile
  373. #                   name given in the first %s.  This does not remove the first
  374. #                   %s from the command line in any manner.  If you need to
  375. #                   use only the second %s file name in your printer command,
  376. #                   then I suggest creating a script which will first copy the
  377. #                   first %s file name to the second %s file name, and then
  378. #                   executing your print command with the second %s file name.
  379. #  <printer option> specifies whether the printer should be disabled for
  380. #            users without printing options.  The options are
  381. #            TRUE or FALSE;
  382. #            TRUE means the printer will always be ENABLED
  383. #             regardless of printer or anonymous settings
  384. #            FALSE means the printer will be DISABLED when
  385. #              the -noprint option is on, or for anonymous
  386. #              users which are not allowed to print
  387. #
  388. #  <lines/page>    is an optional parameter for indicating the number of
  389. #           lines per page for the printer.  Defaults to 66.  Used
  390. #           for computing the approximate number of pages and
  391. #           generating a statusline query of whether to proceed if
  392. #           the document is longer than 4 printer pages.  Uses the
  393. #           current screen length for the computation when the
  394. #           built in "print to screen" option is selected.
  395. #
  396. #  You must put the whole definition on one line.  
  397. #
  398. #  If you must use a colon, precede it with a backslash!
  399. #
  400. #  If you have a very busy VMS print queue and Lynx deletes the temporary
  401. #  files before they have been queued, use the VMSPrint.com included in
  402. #  the distribution.
  403. #
  404. #    examples
  405. #PRINTER:Computer Center printer:lpr -Pccprt %s:FALSE
  406. #PRINTER:Office printer:lpr -POffprt %s:TRUE
  407. #PRINTER:VMS printer:print /queue=cc$print %s:FALSE:58
  408. #PRINTER:Busy VMS printer:@Lynx_Dir\:VMSPrint sys$print %s:FALSE:58
  409. # check out the lpansi program in utils/ for printing on vt100
  410. # attached printers.
  411. #PRINTER:Use vt100 print sequence to print from your local terminal:lpansi %s:TRUE
  412. # don't use the following printer on anonymous accounts since
  413. # allowing shell input is very dangerous
  414. #PRINTER:Specify your own print command:echo -n "Enter a print command\: "; read word; sh -c "$word %s":FALSE
  415. #* Amiga-example:
  416. PRINTER:copy to PRT\::copy %s PRT\: quiet:FALSE
  417.  
  418. # Downloader definitions
  419. # any number of downloaders may be defined by using multiple
  420. # downloader definition sets.  Downloaders may be any program
  421. # that could be useful to your users, they do not necessarily
  422. # have to be a download protocol program. The most common use
  423. # of a downloader is to use Ckermit or some other transfer
  424. # program so that the user may easily transfer files back to
  425. # their local machine over a serial link.
  426. #
  427. # the definition of a downloader is of the form
  428. # DOWNLOADER:<downloadername>:<downloader command>:<downloader option>
  429. #
  430. #    <downloader name> is the name that the user will see
  431. # <downloader command> is the command line arguments for printing a file
  432. #                      the %s will be replaced with the file being printed
  433. #                      If a second %s is given the second %s will be replaced
  434. #                      by a suggested filename that is nicer than the tempfile
  435. #                      name given in the first %s.  This does not replace the
  436. #                      first %s in the command line.  If your command needs
  437. #                      the suggest file name on the command line only, then
  438. #                      I suggest creating a script that will first copy the
  439. #                      first %s file name to the second %s file name, and then
  440. #                      execute the downloading command using the second %s file
  441. #                      name (e.g., 'sz' needs such a script interposed).
  442. #  <downloader option> specifies whether the downloader should be disabled for
  443. #                      anonymous users.  The options are
  444. #                      TRUE or FALSE;
  445. #                      TRUE means the downloader will always be ENABLED
  446. #                           regardless of the anonymous settings
  447. #                      FALSE means the downloader will be DISABLED when
  448. #                            the user is anonymous.
  449. #
  450. #  You must put the whole definition on one line.
  451. #
  452. #  If you must use a colon, precede it with a backslash!
  453. #
  454. #    examples
  455. #*
  456. #* BEWARE USING ":" in PATHNAMES !!! they simply MUST be escaped with "\"
  457. #*
  458. #DOWNLOADER:Use Kermit to download to the local terminal:kermit -i -s %s %s:TRUE
  459. #DOWNLOADER:Use Zmodem to download to the local terminal:sz %s:TRUE
  460. #*
  461. #* Example for calling the copystripper which allows saving to different
  462. #* destination-dirs
  463. #DOWNLOADER:Save to RAM\::rx goodies/copystripper.rexx %s %s RAM\: >NIL\::TRUE
  464. #*
  465. DOWNLOADER:Save anywhere on disk :copy quiet %s %s >NIL\::TRUE
  466.  
  467.  
  468. # Uploader definitions (implemented only with Unix DIRED_SUPPORT;
  469. #                       see the Makefile in the top directory)
  470. # any number of uploaders may be defined by using multiple
  471. # uploader definition sets.  Uploaders may be any program
  472. # that could be useful to your users, they do not necessarily
  473. # have to be an upload protocol program. The most common use
  474. # of an uploader is to use Ckermit or some other transfer
  475. # program so that the user may easily transfer files from
  476. # their local machine over a serial link.
  477. #
  478. # the definition of an uploader is of the same form as a downloader
  479. # UPLOADER:<uploadername>:<uploader command>:<uploader option>
  480. #
  481. #  You must put the whole definition on one line.
  482. #
  483. #  If you must use a colon, precede it with a backslash!
  484. #
  485. #    example
  486. #UPLOADER:Use Kermit to upload from your computer: kermit -i -r -a %s:TRUE
  487.  
  488. # If NO_DOT_FILES is TRUE, the user will not be allowed to specify files
  489. # beginning with a dot in reply to output filename prompts.
  490. #
  491. # On VMS, it also will stop inclusion of files beginning with a dot
  492. # (e.g., file://localhost/device/directory/.lynxrc) in the directory
  493. # browser's listings (they are never included on Unix).
  494. #
  495. #NO_DOT_FILES:FALSE
  496.  
  497. # If MAKE_LINKS_FOR_ALL_IMAGES is TRUE, all images will be given links
  498. # which can be ACTIVATEd.  For inlines, the ALT or pseudo-ALT ("[INLINE]")
  499. # strings will be links for the resolved SRC rather than just text.  For
  500. # ISMAP or other graphic links, the ALT or pseudo-ALT ("[ISMAP]" or "[LINK]")
  501. # strings will have '-' and a link labeled "[IMAGE]" for the resolved SRC
  502. # appended.
  503. #
  504. # The default defined here will override that in userdefs.h, and the user
  505. # can use LYK_IMAGE_TOGGLE to toggle the feature on or off at run time.
  506. #
  507. # The default also can be toggled via an "-image_links" command line switch.
  508. #
  509. #MAKE_LINKS_FOR_ALL_IMAGES:FALSE
  510.  
  511. # If MAKE_PSEUDO_ALTS_FOR_INLINES is FALSE, inline images which do not
  512. # specify an ALT string will not have "[INLINE]" inserted as a pseudo-ALT,
  513. # i.e., they'll be treated as having ALT="".  If MAKE_LINKS_FOR_ALL_IMAGES
  514. # is defined or toggled to TRUE, however, the pseudo-ALTs will be created
  515. # for inlines, so that they can be used as links to the SRCs.
  516. #
  517. # The default defined here will override that in userdefs.h, and the user
  518. # can use LYK_INLINE_TOGGLE to toggle the feature on or off at run time.
  519. #
  520. # The default also can be toggled via a "-pseudo_inlines" command line
  521. # switch.
  522. #
  523. #MAKE_PSEUDO_ALTS_FOR_INLINES:TRUE
  524.  
  525. # MIME types and viewers!
  526. #
  527. # file extensions may be assigned to MIME types using
  528. # the SUFFIX: definition.  
  529. #
  530. # The SUFFIX definition takes the form of:
  531. #    SUFFIX:<file extension>:<mime type>
  532. # for instance the following definition maps the
  533. # extension ".gif" to the mime type "image/gif"
  534. #    SUFFIX:.gif:image/gif
  535. #
  536. # file suffixes are case INsensitive!
  537. #
  538. # The suffix definitions listed here in the default lynx.cfg file are
  539. # among those established via src/HTInit.c.  You can change any of the
  540. # defaults by editing that file, or via the global or personal mime.types
  541. # files at run time.  They will be overridden if you assign them here.
  542.  
  543. #SUFFIX:.ps:application/postscript
  544. #SUFFIX:.eps:application/postscript
  545. #SUFFIX:.ai:application/postscript
  546. #SUFFIX:.rtf:application/x-rtf
  547. #SUFFIX:.snd:audio/basic
  548. #SUFFIX:.gif:image/gif
  549. #SUFFIX:.rgb:image/x-rgb
  550. #SUFFIX:.pict:image/x-pict
  551. #SUFFIX:.xbm:image/x-xbm
  552. #SUFFIX:.tiff:image/x-tiff
  553. #SUFFIX:.jpg:image/jpeg
  554. #SUFFIX:.jpeg:image/jpeg
  555. #SUFFIX:.mpg:video/mpeg
  556. #SUFFIX:.mpeg:video/mpeg
  557. #SUFFIX:.mov:video/quicktime
  558. #SUFFIX:.hqx:application/octet-stream
  559. #SUFFIX:.bin:application/octet-stream
  560. #SUFFIX:.exe:application/octet-stream
  561. #SUFFIX:.tar:application/octet-stream
  562. #SUFFIX:.Z:application/octet-stream
  563. #SUFFIX:.gz:application/octet-stream
  564. #SUFFIX:.zip:application/octet-stream
  565. #SUFFIX:.lzh:application/octet-stream
  566. #SUFFIX:.lha:application/octet-stream
  567. #SUFFIX:.dms:application/octet-stream
  568.  
  569. # The global and personal EXTENSION_MAP files allow you to assign extensions
  570. # to MIME types which will overide any of the suffix maps in this (lynx.cfg)
  571. # configuration file, or in src/HTInit.c.  See the example mime.types file
  572. # in the samples subdirectory.
  573. #
  574. #     Unix:
  575. #GLOBAL_EXTENSION_MAP:/usr/local/lib/mosaic/mime.types
  576. #     VMS:
  577. #GLOBAL_EXTENSION_MAP:Lynx_Dir:mime.types
  578. #*     Amiga:
  579. GLOBAL_EXTENSION_MAP:ENV:Mosaic/mime.types
  580. #
  581. #    Unix (sought in user's home directory):
  582. #PERSONAL_EXTENSION_MAP:.mime.types
  583. #    VMS (sought in user's sys$login directory):
  584. #PERSONAL_EXTENSION_MAP:mime.types
  585. #*    Amiga (sought in user's $HOME-directory):
  586. PERSONAL_EXTENSION_MAP:mime.types
  587.  
  588. # The global and personal MAILCAP files allow you to specify external
  589. # viewers to spawned when Lynx encounters different MIME types, which
  590. # will overide any of the suffix maps in this (lynx.cfg) configuration
  591. # file, or in src/HTInit.c.  See RFC-MAILCAP.txt in the docs subdirectory
  592. # and the example mailcap file in the samples subdirectory.
  593. #
  594. #    Unix:
  595. #GLOBAL_MAILCAP:/usr/local/lib/mosaic/mailcap
  596. #    VMS:
  597. #GLOBAL_MAILCAP:Lynx_Dir:mailcap
  598. #*    Amiga:
  599. #* You may also specify an environment-variable beginning with '$'
  600. #* GLOBAL_MAILCAP:$MAILCAPS
  601. GLOBAL_MAILCAP:ENV:Mosaic/mailcap
  602.  
  603. #
  604. #     Sought in user's home (Unix|Amiga) or sys$login (VMS) directory.
  605. #PERSONAL_MAILCAP:.mailcap
  606.  
  607. # MIME types may be assigned to external viewers using
  608. # the VIEWER definition.
  609. #
  610. # Note: if you do not define a viewer to a new MIME type
  611. #       that you assigned above then it will be saved to
  612. #       disk by default.
  613. #
  614. # The VIEWER definition takes the form of:
  615. #    VIEWER:<mime type>:<viewing command>[:environment]
  616. #      where -mime type is the MIME content type of the file
  617. #         -viewing command is a system command that can be
  618. #             used to display the file where "%s" is replaced
  619. #             within the command with the physical filename
  620. #             (i.e. "xv %s" becomes "xv /tmp/tempgiffile")
  621. #            -environment is optional.  The only valid keywords
  622. #             are currently XWINDOWS and NON_XWINDOWS.  If the XWINDOWS 
  623. #             environment is specified then the viewer will only be
  624. #             defined when the user has the environment variable DISPLAY
  625. #             (DECW$DISPLAY on VMS) defined.  If the NON_XWINDOWS environment
  626. #             is specified the specified viewer will only be defined when the
  627. #             user DOES NOT have the environment variable DISPLAY defined.
  628. #  examples:
  629. #        VIEWER:image/gif:xv %s:XWINDOWS
  630. #               VIEWER:image/gif:ascii-view %s:NON_XWINDOWS
  631. #               VIEWER:application/start-elm:elm
  632. #
  633. # The MIME_type:viewer:XWINDOWS definitions listed here in the lynx.cfg
  634. # file are among those established via src/HTInit.c.  For the image types,
  635. # HTInit.c uses the XLOADIMAGE definition in userdefs.h (open is used for
  636. # NeXT). You can change any of these defaults via the global or personal
  637. # mailcap files at run time.  They will be overridden if you assign them
  638. # here.
  639.  
  640. #VIEWER:application/postscript:ghostview %s&:XWINDOWS
  641. #VIEWER:image/gif:xv %s&:XWINDOWS
  642. #VIEWER:image/x-xbm:xv %s&:XWINDOWS
  643. #VIEWER:image/x-rgb:xv %s&:XWINDOWS
  644. #VIEWER:image/x-tiff:xv %s&:XWINDOWS
  645. #VIEWER:image/jpeg:xv %s&:XWINDOWS
  646. #VIEWER:video/mpeg:mpeg_play %s &:XWINDOWS
  647.  
  648. #* N`Kognito, Heikki Kantola, genius
  649. VIEWER:image/gif:Multiview %s:NON_XWINDOWS
  650. VIEWER:image/x-xbm:MultiView %s:NON_XWINDOWS
  651. VIEWER:image/x-rgb:MultiView %s:XWINDOWS
  652. VIEWER:image/x-tiff:MultiView %s:XWINDOWS
  653. VIEWER:image/jpeg:FastView %s:NON_XWINDOWS
  654. VIEWER:video/mpeg:mp %s:NON_XWINDOWS
  655. VIEWER:audio/*:play16 %s:NON_XWINDOWS
  656.  
  657. # Key remapping definitions!
  658. #
  659. # You may redefine the keymapping of any function in Lynx by
  660. # using the KEYMAP variable.  The form of KEYMAP is:
  661. #  KEYMAP:<KEYSTROKE>:<LYNX FUNCTION>
  662. #
  663. # You must map upper and lowercase key's separately.
  664. #
  665. # A complete list of functions mapped to their default keys are
  666. # provided below.  All of the mappings are commented out by default
  667. # since they just map to the default mappings, except for TOGGLE_HELP
  668. # (see below).
  669. #
  670. # Special keys map to:
  671. #         Up Arrow: 0x80
  672. #       Down Arrow: 0x81
  673. #      Right Arrow: 0x82
  674. #       Left Arrow: 0x83
  675. #        Page Down: 0x84
  676. #          Page Up: 0x85
  677. #      Keypad Home: 0x86
  678. #       Keypad End: 0x87
  679. #   Function key 1: 0x88
  680. # vt100   Help Key: 0x88
  681. # vt100     Do Key: 0x89
  682. # vt100   Find Key: 0x8A
  683. # vt100 Select Key: 0x8B
  684. # vt100 Insert Key: 0x8C
  685. # vt100 Remove Key: 0x8D
  686. #         NULL KEY: 0x00
  687. #
  688.  
  689. #KEYMAP:0x2F:SOURCE    # Toggle source viewing mode (show HTML source
  690. #KEYMAP:^R:RELOAD    # Reload the current document and redisplay
  691. #KEYMAP:q:QUIT        # Ask the user to quit
  692. #KEYMAP:Q:ABORT        # Quit without verification
  693. #KEYMAP:0x20:NEXT_PAGE    # Move down to previous page
  694. #KEYMAP:-:PREV_PAGE    # Move up to previous page
  695. #KEYMAP:^P:UP_TWO    # Move display up two lines
  696. #KEYMAP:0x8C:UP_TWO     # Function key - Move display up two lines
  697. #KEYMAP:^N:DOWN_TWO    # Move display down two lines
  698. #KEYMAP:0x8D:DOWN_TWO   # Function key - Move display down two lines
  699. #KEYMAP:^W:REFRESH    # Refresh the screen
  700. #KEYMAP:0x86:HOME       # Keypad HOME (Go to top of current document
  701. #KEYMAP:0x8A:HOME       # Function key - HOME (Go to top of current document
  702. #KEYMAP:0x87:END    # Keypad END (Go to bottom of current document
  703. #KEYMAP:0x8B:END        # Function key - END (Go to bottom of current document
  704. #KEYMAP:0x80:PREV_LINK  # Move to the previous link
  705. #KEYMAP:0x81:NEXT_LINK  # Move to the next link
  706. #KEYMAP:0x00:UP_LINK    # Move to the link above
  707. #KEYMAP:0x00:DOWN_LINK    # Move to the link below
  708. #KEYMAP:0x00:RIGHT_LINK    # Move to the link to the right
  709. #KEYMAP:0x00:LEFT_LINK    # Move to the link to the left
  710. #KEYMAP:0x7f:HISTORY    # Show the history list
  711. #KEYMAP:0x08:HISTORY    # Show the history list
  712. #KEYMAP:0x83:PREV_DOC    # Return to the previous document
  713. #KEYMAP:0x82:ACTIVATE    # Select the current link
  714. #KEYMAP:0x89:ACTIVATE   # Function key - Select the current link
  715. #KEYMAP:g:GOTO        # Goto a random URL
  716. #KEYMAP:H:HELP        # Show default help screen
  717. #KEYMAP:0x88:HELP       # Function key - Show default help screen
  718. #KEYMAP:i:INDEX        # Show default index
  719. #*** Edit FORM_LINK_SUBMIT_MESSAGE in userdefs.h if you change RESUBMIT ***
  720. #KEYMAP:x:RESUBMIT    # Force resubmission of form if presently cached
  721. #*** Do not change INTERRUPT from 'z' & 'Z' ***
  722. #KEYMAP:z:INTERRUPT    # Interrupt network transmission
  723. #KEYMAP:m:MAIN_MENU    # Return to the main menu
  724. #KEYMAP:o:OPTIONS    # Show the options menu
  725. #KEYMAP:i:INDEX_SEARCH    # Search a server based index
  726. #KEYMAP:/:WHEREIS    # Find a string within the current document
  727. #KEYMAP:n:NEXT        # Find next occurance of string within document
  728. #KEYMAP:c:COMMENT    # Comment to the author of the current document
  729. #KEYMAP:e:EDIT        # Edit current document
  730. #KEYMAP:=:INFO        # Show info about current document
  731. #KEYMAP:p:PRINT        # Show print options
  732. #KEYMAP:a:ADD_BOOKMARK    # Add current document to bookmark list
  733. #KEYMAP:v:VIEW_BOOKMARK    # View the bookmark list
  734. #KEYMAP:!:SHELL        # Spawn default shell
  735. #KEYMAP:d:DOWNLOAD    # Download current link
  736. #KEYMAP:j:JUMP        # Jump to a predefined target
  737. #KEYMAP:k:KEYMAP    # Display the current key map
  738. #KEYMAP:l:LIST        # List the references (links) in the current document
  739. #KEYMAP:^T:TRACE_TOGGLE    # Toggle tracing of browser operations
  740. #KEYMAP:*:IMAGE_TOGGLE    # Toggle inclusion of links for all images
  741. #KEYMAP:[:INLINE_TOGGLE    # Toggle pseudo-ALTs for inlines with no ALT string
  742. #KEYMAP:0x00:DO_NOTHING    # Does nothing (ignore this key)
  743.  
  744. # If TOGGLE_HELP is mapped, in novice mode the second help menu line
  745. # can be toggled among NOVICE_LINE_TWO_A, _B, and _C, as defined in
  746. # userdefs.h.  Otherwise, it will be NOVICE_LINE_TWO.
  747. #
  748. #KEYMAP:O:TOGGLE_HELP    # Show other commands in the novice help menu
  749.